package DBLayer;

import java.util.ArrayList;

import ModelLayer.TrainingActivity;

public interface DBTrainingActivityIF
{
	public ArrayList<TrainingActivity> getAllTrainingActivity(boolean retriveAssociation);
    public TrainingActivity searchTrainingActivityID(int trainingActivityID, boolean retriveAssociation);
    public TrainingActivity searchTrainingActivityName(String name, boolean retriveAssociation);

    public int insertTrainingActivity(TrainingActivity ta);
    public int updateTrainingActivity(TrainingActivity ta);
    public int delete(int id);
}
